PgDAC

TCustomPgTimeStamp Members

TCustomPgTimeStamp class overview.

Properties

Name Description

AsDateTime

Used to get and set the timestamp value as TDateTime.

AsSQLTimeStamp

Used to get and set the timestamp value as TSQLTimeStamp record.

Days

Holds the date part of timestamp.

HasTimeZone

Used to specify whether the timestamp object has time zone.

IsInfinity

Determines if a timestamp object has +/-infinity value.

IsNegInfinity

Determines if a timestamp object has -infinity value.

IsPosInfinity

Determines if a timestamp object has +infinity value.

Ticks

Holds the time part of timestamp in microseconds.

TimeZoneOffset

Specifies the time zone offset of a timestamp object (in seconds).

Methods

Name Description

Assign

Assigns a value from another TCustomPgTimeStamp object to this object.

Compare

Compares two TCustomPgTimeStamp objects.

DecodeDate

Provides year, month, and day from the timestamp object.

DecodeDateTime

Provides the value of the timestamp object as year, month, day, hour, minute, second, and microsecond.

DecodeTime

Provides hour, minute, second, and microsecond from the timestamp object.

EncodeDate

Sets year, month, and day in the timestamp object.

EncodeDateTime

Sets the value of the timestamp object as year, month, day, hour, minute, second, and microsecond.

EncodeTime

Sets hour, minute, second, and microsecond in the timestamp object.
© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback